package com.bytz.modules.cms.statistic.service;

import com.bytz.modules.cms.order.model.OrderEndUserStatistic;
import com.bytz.modules.cms.order.model.ProductLineStatisticResult;
import com.bytz.modules.cms.statistic.model.DateRangeModel;
import com.bytz.modules.cms.statistic.model.RecentOrderCount;
import com.bytz.modules.cms.statistic.model.TurnoverRequest;

import java.util.List;

public interface IStatisticService {

    /**
     * 经销商首页-近期订单数量统计
     */
    RecentOrderCount recentOrderCount();

    /**
     * 经销商首页饼图
     */
    List<OrderEndUserStatistic> pieChart();

    /**
     * 经销商首页折线图
     */
    List<DateRangeModel> lineChart(TurnoverRequest turnoverRequest);

    /**
     * 各产品线销售额
     */
    List<ProductLineStatisticResult> productLineTotal();
}
